package com.yy.bolg.dao;

import com.yy.bolg.entity.AccessoryBean;
import org.apache.ibatis.annotations.Mapper;

import java.io.Serializable;
import java.util.List;

/**
 * 附件Dao层
 * @author enmaoFu
 * @date 2024-11-04
 */
@Mapper
public interface AccessoryDao extends BaseDao<AccessoryBean>{

    int deleteToAccessoryCode(Serializable code);

    int deleteToAccessoryClassCode(Serializable code);

    AccessoryBean findOneByAccessoryCode(Serializable code);

    List<AccessoryBean> findOneByAccessoryClassCode(Serializable code);

}
